<?php include "header.php"; ?>
	<?php include "create-account.php"; ?>
	<h2>New User Sign Up</h2>
	<p><span class="error">* required</span></p>
	<form method="post" action="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]);?>">
		E-Mail: <input type="text" name="email" value="<?php echo $email?>">
		<span class="error">* <?php echo $emailErr;?></span><br><br>
		
		Password: <input type="password" name="password" value="">
		<span class="error">* <?php echo $passwordErr;?></span><br><br>

		Re-Enter Password: <input type="password" name="password2" value="">
		<span class="error">* <?php echo $passwordErr2;?></span><br><br>
		
		First Name: <input type="text" name="fname" value="<?php echo $fname?>">
		<span class="error">* <?php echo $fnameErr;?></span><br><br>	

		Last Name: <input type="text" name="lname" value="<?php echo $lname?>">
		<span class="error">* <?php echo $lnameErr;?></span><br><br>	
		
		Phone Number: <input type="text" name="phone" value="<?php echo $phone?>">
		<span class="error"> <?php echo $phoneErr;?></span><br><br>
		
		<input type="submit" name="submit" value="Submit">
	</form>
<?php include "footer.php"; ?>